package com.hgkj.cloud.base.service;

import com.hgkj.cloud.base.common.PageInfo;
import com.hgkj.cloud.base.domain.TenantPsychologicalCase;

import java.util.List;
import java.util.Map;


public interface TenantPsychologicalCaseService {

    int deleteByPrimaryKey(Long id);

    int insert(TenantPsychologicalCase record);

    int insertSelective(TenantPsychologicalCase record);

    TenantPsychologicalCase selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantPsychologicalCase record);

    int updateByPrimaryKey(TenantPsychologicalCase record);

    List<Map<String, Object>> listPsychologicalCaseByMap(PageInfo pi, Map<String, Object> map);

    long listPsychologicalCaseCount(Map<String, Object> map);

    int delPsychologicalCase(Long id);

    TenantPsychologicalCase getPsychologicalCaseById(Map<String, Object> map);

    List<Map<String, Object>> getPsychologicalCaseStatistics(Map<String, Object> map);

}
